<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html" 
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:c="http://java.sun.com/jsp/jstl/core" >
 <head>
 </head>    
  <ui:composition template="/templates/default/template.xhtml">
    	<ui:define name="body"> 
 			<h:panelGrid columns="1" style="margin-left:5px;width:100%">	
 				<!--  tieu de -->
	 			<h:panelGrid columns="3" styleClass="columPanelbaritemTitle">
					<h:graphicImage value="/templates/default/images/left-heading_01.jpg" style="margin-left:-4px;margin-bottom:0px"></h:graphicImage>
			  		<h:outputText value="Báo cáo tổng hợp" styleClass="panelbaritemTitle"></h:outputText>
					<h:graphicImage value="/templates/default/images/left-heading_03.jpg"></h:graphicImage>
		  		</h:panelGrid>
		  			<!-- ket thuc tieu de -->
					<!-- phan noi dung phia duoi -->
		  		<h:panelGrid columns="1" styleClass="panelGridBody">
				<h:form>
				<rich:panel style="background:#FFFFFF">
				 <h:panelGrid columns="2" style="margin-left:80px">
				   <h:outputText id="idError" value="#{BeanBCTongHop.error}" style=" color: red;">
			       </h:outputText>
			       <h:outputText></h:outputText>
			       
		    	    <h:outputText value="Số lượng tiêu chí" styleClass="inputText"></h:outputText>
		    	   <!--  
		    	   <h:selectOneRadio value="#{beanBCTongHop.tieuChi}" >
		    	     <f:selectItems value="#{beanBCTongHop.selectItem}" />
		    	    <a4j:support event="onclick"  
								action="#{beanBCTongHop.action}"/>
		    	   </h:selectOneRadio>	  
		    	   --> 
		    	   <h:selectOneMenu value="#{beanBCTongHop.tieuChi}" styleClass="InputControl" >
		    	      <f:selectItems value="#{beanBCTongHop.selectItem}" />
		    	    <a4j:support event="onchange"  
								action="#{beanBCTongHop.action}"/>
		    	   </h:selectOneMenu>
		    	   
		    	   <!--cac tieu chi  -->
		    	      <!-- tieu chi 1 -->
		    	    <h:outputText value="Tiêu chí 1" styleClass="inputText" style="margin-left:2px;">
		  		    </h:outputText>		
		  		    <h:selectOneMenu value="#{beanSearchBaoCaoTongHop.tieuChiSearch1}" styleClass="InputControl">
				         <f:selectItems  value="#{beanSearchBaoCaoTongHop.selectItem}"/>
				         <a4j:support action="#{beanSearchBaoCaoTongHop.setLableInput1}" event="onchange"
				          reRender="idOut1" >
				         </a4j:support> 	
				    </h:selectOneMenu>
				    
				    <h:outputText id="idOut1" value="#{beanSearchBaoCaoTongHop.lable1}" styleClass="inputText" style="margin-left:2px;"></h:outputText>		    		
		    		<h:inputText value="#{beanSearchBaoCaoTongHop.thongtin1}" styleClass="InputControl">
		    		</h:inputText>
		    		<!-- ed -->
		    		<!-- Tieu chi 2 -->
		    		<h:outputText value="Tiêu chí 2" styleClass="inputText" style="margin-left:2px;">
		  		    </h:outputText>		
		  		    <h:selectOneMenu value="#{beanSearchBaoCaoTongHop.tieuChiSearch2}" styleClass="InputControl">
				         <f:selectItems  value="#{beanSearchBaoCaoTongHop.selectItem}"/>
				         <a4j:support action="#{beanSearchBaoCaoTongHop.setLableInput2}" event="onchange"
				          reRender="idOut2" >
				         </a4j:support> 	
				    </h:selectOneMenu>
				    <h:outputText id="idOut2" value="#{beanSearchBaoCaoTongHop.label2}" styleClass="inputText" style="margin-left:2px;"></h:outputText>		    		
		    		<h:inputText value="#{beanSearchBaoCaoTongHop.thongtin2}" styleClass="InputControl" style="width=100px;">
		    		</h:inputText>
		    		<!-- End -->
		    		<!-- Tieu chi 3 -->
		    		<h:outputText value="Tiêu chí 3" styleClass="inputText" style="margin-left:2px;">
		  		    </h:outputText>		
		  		    <h:selectOneMenu value="#{beanSearchBaoCaoTongHop.tieuChiSearch3}" styleClass="InputControl">
				         <f:selectItems  value="#{beanSearchBaoCaoTongHop.selectItem}"/>
				         <a4j:support action="#{beanSearchBaoCaoTongHop.setLableInput3}" event="onchange"
				          reRender="idOut3" >
				         </a4j:support> 	
				    </h:selectOneMenu>
				    <h:outputText id="idOut3" value="#{beanSearchBaoCaoTongHop.label3}" styleClass="inputText" style="margin-left:2px;"></h:outputText>		    		
		    		<h:inputText value="#{beanSearchBaoCaoTongHop.thongtin2}" styleClass="InputControl" style="width=100px;">
		    		</h:inputText>
		    		<!-- End -->
		    	   <!--  end -->
			  		<!-- action -->	
			  	  </h:panelGrid>
			  	   <h:panelGrid columns="3" style="margin-left:200px;margin-top:10px">
			  	    <a4j:commandButton  value="Xem" styleClass="Button"
			    	   reRender="idError" action="#{beanSearchBaoCaoTongHop.view3}" ></a4j:commandButton>
			        <a4j:commandButton   value="Reset" styleClass="Button" action="#{beanBCTongHop.reset}"></a4j:commandButton>
			      </h:panelGrid>
		  		</rich:panel>
		  		  <!-- ket thuc action -->
				</h:form>
			   </h:panelGrid>	
			    <ui:include src="#{beanSearchBaoCaoTongHop.bieumaukq}" /> 
			   <!--<h:panelGrid columns="1" id="idOut">
			    <ui:include src="#{beanBCTongHop.bieumau}" /> 
			   </h:panelGrid>
			    -->
			</h:panelGrid>  
</ui:define>
</ui:composition>			
      
 </html>     